package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 dz_huiyuan
 * 
 * @author ruoyi
 * @date 2022-09-01
 */
public class DzHuiyuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 账号 */
    @Excel(name = "账号")
    private String loginname;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idno;

    /** 学工号 */
    @Excel(name = "学工号")
    private String userno;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 最高学历 */
    @Excel(name = "最高学历")
    private String xueli;

    /** 单位 */
    @Excel(name = "单位")
    private String danwei;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String jiguan;

    /** 民族 */
    @Excel(name = "民族")
    private String minzu;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String dn;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String cardno;

    /** 证书有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date carddate;

    /** 所属院系 */
    @Excel(name = "所属院系")
    private Long deptId;

    private Long isblack;

    public Long getIsblack() {
        return isblack;
    }

    public void setIsblack(Long isblack) {
        this.isblack = isblack;
    }

    /** 分管班级 */
    @Excel(name = "分管班级")
    private String deptIds;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Long userType;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userPic;

    private String jianjie;

    private String zhicheng;

    public String getZhicheng() {
        return zhicheng;
    }

    public void setZhicheng(String zhicheng) {
        this.zhicheng = zhicheng;
    }

    public String getJianjie() {
        return jianjie;
    }

    public void setJianjie(String jianjie) {
        this.jianjie = jianjie;
    }


    private String openid;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    /**
     * 用户唯一标识
     */
    private String token;


    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLoginname(String loginname) 
    {
        this.loginname = loginname;
    }

    public String getLoginname() 
    {
        return loginname;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setIdno(String idno) 
    {
        this.idno = idno;
    }

    public String getIdno() 
    {
        return idno;
    }
    public void setUserno(String userno) 
    {
        this.userno = userno;
    }

    public String getUserno() 
    {
        return userno;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setXueli(String xueli) 
    {
        this.xueli = xueli;
    }

    public String getXueli() 
    {
        return xueli;
    }
    public void setDanwei(String danwei) 
    {
        this.danwei = danwei;
    }

    public String getDanwei() 
    {
        return danwei;
    }
    public void setJiguan(String jiguan) 
    {
        this.jiguan = jiguan;
    }

    public String getJiguan() 
    {
        return jiguan;
    }
    public void setMinzu(String minzu) 
    {
        this.minzu = minzu;
    }

    public String getMinzu() 
    {
        return minzu;
    }
    public void setDn(String dn) 
    {
        this.dn = dn;
    }

    public String getDn() 
    {
        return dn;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCardno(String cardno) 
    {
        this.cardno = cardno;
    }

    public String getCardno() 
    {
        return cardno;
    }
    public void setCarddate(Date carddate) 
    {
        this.carddate = carddate;
    }

    public Date getCarddate() 
    {
        return carddate;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptIds(String deptIds) 
    {
        this.deptIds = deptIds;
    }

    public String getDeptIds() 
    {
        return deptIds;
    }
    public void setUserType(Long userType) 
    {
        this.userType = userType;
    }

    public Long getUserType() 
    {
        return userType;
    }
    public void setUserPic(String userPic) 
    {
        this.userPic = userPic;
    }

    public String getUserPic() 
    {
        return userPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loginname", getLoginname())
            .append("password", getPassword())
            .append("username", getUsername())
            .append("idno", getIdno())
            .append("userno", getUserno())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("xueli", getXueli())
            .append("danwei", getDanwei())
            .append("jiguan", getJiguan())
            .append("minzu", getMinzu())
            .append("dn", getDn())
            .append("address", getAddress())
                .append("token", getToken())
            .append("cardno", getCardno())
            .append("carddate", getCarddate())
            .append("deptId", getDeptId())
            .append("deptIds", getDeptIds())
            .append("userType", getUserType())
            .append("createTime", getCreateTime())
            .append("userPic", getUserPic())
            .toString();
    }
}
